package org.absolutezero.shared;

import java.util.List;

import org.absolutezero.model.Shelf;

import com.google.web.bindery.requestfactory.shared.InstanceRequest;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;



@Service(Shelf.class)
public interface ShelfRequest extends RequestContext {
	
	InstanceRequest<ShelfProxy, Void> persist();
	
	InstanceRequest<ShelfProxy, Void> remove();
	
	Request<Void> removeShelfProducts(List<FridgeProductProxy> products);
	
	Request<List<ShelfProxy>> getAllShelves();
	
}
